home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Edition Web / HTMLedit173-ppc / HTML.edit 1.7.3 (ppc) / HTML.edit 1.7.3 (ppc).rsrc / TEXT_27174_Long Documents.txt < prev    next >
Text File  |  1996-09-16  |  2KB  |  23 lines

  1.  
  2. Long Documents
  3.  
  4. While lengthy documents are somewhat discouraged on the Web, there are several methods of handling them that maximize the value of "hypertext".
  5.  
  6. HTML.edit Limitations (and How to Get Around Them)
  7. HTML.edit documents are composed of three fields: header, body and footer. Due to a limitation in the development environment, there is a 30,000 character limit to each field. Conceivably, one could create a 90,000 character document in HTML.edit by dividing the text between the three fields (imported documents automatically overflow from body to footer). This would be much larger than the majority of web documents.
  8.  
  9.  
  10. Dividing Large Documents
  11. HTML.edit supports automatically dividing documents on import using a customizable separator character. This feature is by default set to a Form Feed character (ASCII 12), but turned off.
  12.  
  13. To turn on the feature, go to the Preferences card and select Import/Export Preferences. Make sure the "New Document onΓǪ" checkbox is checked, and select either "Form Feed" or "Other" (which uses a character in the small box as separator). I usually use insert "┬º" symbols (option-6) in the source text before importing the document into HTML.edit.
  14.  
  15. On import, HTML.edit will create a new document each time it encounters the separator character. This could be a chapter or section marker, for example.
  16.  
  17. Actual Practice
  18. To test this out, I used a text copy of Melville's Typee  (a tropical island adventure), which has many small chapters. In BBEdit, I opened the text copy and case-sensitive replaced all instances of uppercase "CHAPTER" with "┬ºCHAPTER". I then turned on the New Document On... feature, then imported the document.
  19.  
  20. After the entire book had imported, I then went to the HTML.edit Index page, created a new label called "Typee" and set all the imported documents to that label. I then created a table of contents document, and used the Table of Contents command (under the Anchor menu) to build a table of contents for the entire book. This entire process took less than ten minutes.
  21.  
  22. Back to Document Structure, on to Header, or return to Design Issues.
  23.